package com.ruoyi.project.good.service;

import java.util.List;
import com.ruoyi.project.good.domain.GoodsForwardRecord;

/**
 * 商品转发Service接口
 * 
 * @author ruoyi
 * @date 2020-07-01
 */
public interface IGoodsForwardRecordService 
{
    /**
     * 查询商品转发
     * 
     * @param forwardId 商品转发ID
     * @return 商品转发
     */
    public GoodsForwardRecord selectGoodsForwardRecordById(Long forwardId);

    /**
     * 查询商品转发列表
     * 
     * @param goodsForwardRecord 商品转发
     * @return 商品转发集合
     */
    public List<GoodsForwardRecord> selectGoodsForwardRecordList(GoodsForwardRecord goodsForwardRecord);

    /**
     * 新增商品转发
     * 
     * @param goodsForwardRecord 商品转发
     * @return 结果
     */
    public int insertGoodsForwardRecord(GoodsForwardRecord goodsForwardRecord);

    /**
     * 修改商品转发
     * 
     * @param goodsForwardRecord 商品转发
     * @return 结果
     */
    public int updateGoodsForwardRecord(GoodsForwardRecord goodsForwardRecord);

    /**
     * 批量删除商品转发
     * 
     * @param forwardIds 需要删除的商品转发ID
     * @return 结果
     */
    public int deleteGoodsForwardRecordByIds(Long[] forwardIds);

    /**
     * 删除商品转发信息
     * 
     * @param forwardId 商品转发ID
     * @return 结果
     */
    public int deleteGoodsForwardRecordById(Long forwardId);
}
